package com.bean;

/**
 * Login entity. @author MyEclipse Persistence Tools
 */

public class Login implements java.io.Serializable {

	// Fields

	private Integer loginId;
	private User user;
	private String loginName;
	private String loginPassword;

	// Constructors

	/** default constructor */
	public Login() {
	}

	/** full constructor */
	public Login(User user, String loginName, String loginPassword) {
		this.user = user;
		this.loginName = loginName;
		this.loginPassword = loginPassword;
	}

	// Property accessors

	public Integer getLoginId() {
		return this.loginId;
	}

	public void setLoginId(Integer loginId) {
		this.loginId = loginId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPassword() {
		return this.loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}

}